mui.init({
//	preloadPages:[{
//		id:'mobile_mgrprotocol',
//		url:'mgrProtocol.html'
//	}]
});

mui.plusReady(function() {
	
	(function load(){
		var userId = plus.storage.getItem(KeyCfg.userId);
		var url=UrlConfig.mgrpro_load;
		var datas={userId:userId};
		$.ajax(url, {  
		        data : datas,  
		        dataType : 'jsonp',  
		        crossDomain: true,  
		        success: function(data) {
		        		data = JSON.parse(data);
		        		callback(data);
		        }
		    });
		
	})();
	/**
	 * 填充数据
	 * @param {Object} data
	 */
	function callback(data){
		var userName= data["userName"];
		var cardId = data["cardId"];
		var email = data["email"];
		var today = data["today"];
		$("#u_userName").html("甲方："+userName);
		$("#u_card").html("身份证号码："+cardId);
		$("#u_email").html("电子邮件地址："+email);
		$("#u_userName1").html(userName);
		$("#u_card1").html(cardId);
		$("#u_email1").html(email);
		$("#s_today").html(today);
	}
});
